include_directories(
	${CMAKE_CURRENT_SOURCE_DIR}
	${UNMANAGED_INCLUDE_DIR}
	${UTILITIES_COMMON_INCLUDE_DIR}
	)

set( CMSOverrides_SRCS
   FdoCMSOvPhysicalSchemaMapping.cpp
   FdoCMSOvClassCollection.cpp
   FdoCMSOvClassDefinition.cpp
   FdoCMSOvLayerCollection.cpp
   FdoCMSOvLayerDefinition.cpp
   FdoCMSOvStyleDefinition.cpp
   FdoCMSOvRasterDefinition.cpp
   FdoCMSOverrides.cpp
)

add_library( CMSOverrides SHARED ${CMSOverrides_SRCS} )

target_link_libraries( CMSOverrides
	ProvidersCommon
	FDO
 )

add_dependencies( CMSOverrides FdoCMSMessage )

set_target_properties( CMSOverrides PROPERTIES VERSION ${FDO_VERSION} SOVERSION ${FDO_VERSION_MAJOR} )
install( TARGETS CMSOverrides DESTINATION ${LIB_INSTALL_DIR} )

